<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://xmlns.jcp.org/jsf/core"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                xmlns:h="http://xmlns.jcp.org/jsf/html" id="parent">
    
    <p:commandButton oncomplete="PF('newProject').show();" value="new project"/>
    <p:panelGrid columns="3">
        <p:outputLabel value="1"></p:outputLabel>
        <p:outputLabel value="2"></p:outputLabel>
        <p:outputLabel value="1"></p:outputLabel>
        <p:outputLabel value="3"></p:outputLabel>
        <p:outputLabel value="4"></p:outputLabel>
        <p:outputLabel value="5"></p:outputLabel>
        <p:outputLabel value="6"></p:outputLabel>
        <p:outputLabel value="7"></p:outputLabel>
        <p:outputLabel value="7"></p:outputLabel>
        <p:outputLabel value="7"></p:outputLabel>
    </p:panelGrid>
    <p:dialog widgetVar="newProject" dynamic="true" fitViewport="true" header="new project">
         <h:panelGroup id="container_test">
                           
             <ui:include src="dialogs/newProject.xhtml" >
                                
                            </ui:include>
                        </h:panelGroup>
    </p:dialog>
    </ui:composition>

